import request from '@/utils/request'

export function userLogin(params) {
    return request({
        url: "/shopping/users/login",
        method: 'post',
        data: params
    }).then(res => {
        console.log(res)
        return res
    })
}

export function userRegister(params) {
    return request({
        url: "/shopping/user/register",
        method: 'post',
        data: params
    })
}
